<template>
  <div class="startPage">
      <h1>炸飞机</h1>
      <div class="buttons">
          <button @click="changeStage(2)">开始游戏</button>
      </div>
  </div>
</template>

<script>
import { mapActions } from 'vuex'
export default {
  methods: mapActions([
    'changeStage'
  ]),
  name: 'StartPage'
}
</script>

<style>
.startPage h1 {
    font-size: 2rem;
    color: blue;
}
.startPage button{
    font-size: 1.5em;
}
</style>
